Technologies for managing memory on a compute device

ABSTRACT

Technologies for managing memory on a compute device are disclosed. The compute device is configured to determine the quality of a user experience of the compute device when a certain combination of applications are running on the compute device and stores an indication of the quality of the user experience that corresponds to that combination of applications. At a later time, such as when a user selects an application to be launched, the compute device may check if the current combination of applications is expected to have an acceptable quality of a user experience. If not, the compute device may kill one or more of the current combination of applications to improve the expected quality of the user experience.

BACKGROUND

Memory management is an important task for any modern computing system.Typically, when not enough physical memory is available, some of thecontent of the physical memory can be transferred to a secondary storagelocation, such as “swap space” on a hard drive. However, embeddedsystems or mobile devices such as cell phones may not employ thisapproach.

In such systems, when a low memory condition is encountered, a lowmemory application killer is used to kill one or more of theapplications running on the compute device. Such an approach requires alow memory condition to exist before addressing the issue, which canlead to an unacceptable quality of a user experience due to applicationsrunning slowly, being unresponsive to user input, etc.

BRIEF DESCRIPTION OF THE DRAWINGS

The concepts described herein are illustrated by way of example and notby way of limitation in the accompanying figures. For simplicity andclarity of illustration, elements illustrated in the figures are notnecessarily drawn to scale. Where considered appropriate, referencelabels have been repeated among the figures to indicate corresponding oranalogous elements.

FIG. 1 is a simplified block diagram of at least one embodiment of acompute device for managing memory and the quality of a user experience;

FIG. 2 is a block diagram of at least one embodiment of an environmentthat may be established by the compute device of FIG. 1;

FIG. 3 is a simplified flow diagram of at least one embodiment of amethod for determining the quality of a user experience of the computedevice of FIG. 1;

FIGS. 4 & 5 are a simplified flow diagram of at least one embodiment ofa method for managing memory on the compute device of FIG. 1; and

FIG. 6 is a simplified flow diagram of at least one embodiment of amethod for modifying a stored indication of the quality of a userexperience based on an input from a user that may be executed by thecompute device of FIG. 1.

DETAILED DESCRIPTION OF THE DRAWINGS

While the concepts of the present disclosure are susceptible to variousmodification, and alternative forms, specific embodiments thereof havebeen shown by way of example in the drawings and will be describedherein in detail. It should be understood, however, that there is nointent to limit the concepts of the present disclosure to the particularforms disclosed, but on the contrary, the invention is to cover allmodifications, equivalents, and alternatives consistent with the presentdisclosure and the appended claims.

References in the specification to “one embodiment.” “an embodiment,”“an illustrative embodiment,” etc., indicate that the embodimentdescribed may include a particular feature, structure, orcharacteristic, but every embodiment may or may not necessarily includethat particular feature, structure, or characteristic. Moreover, suchphrases are not necessarily referring to the same embodiment. Further,when a particular feature, structure, or characteristic is described inconnection with an embodiment, it is submitted that it is within theknowledge of one skilled in the art to effect such feature, structure,or characteristic in connection with other embodiments whether or notexplicitly described. Additionally, it should be appreciated that itemsincluded in a list in the form of “at least one A, B, and C” can mean(A); (B); (C); (A and B); (B and C); (A and C); or (A, B, and C).Similarly, items listed in the form of “at least one of A, B, or C” canmean (A); (B); (C); (A and B); (B and C); (A and C); or (A, B, and C).

The disclosed embodiments may be implemented, in some cases, inhardware, firmware, software, or any combination thereof. The disclosedembodiments may also be implemented as instructions carried by or storedon one or more transitory or non-transitory machine-readable (e.g.,computer-readable) storage medium, which may be read and executed by oneor more processors. A machine-readable storage medium may be embodied asany storage device, mechanism, or other physical structure for storingor transmitting information in a form readable by a machine (e.g., avolatile or non-volatile memory, a media disc, or other media device).

In the drawings, some structural or method features may be shown inspecific arrangements and/or orderings. However, it should beappreciated that such specific arrangements and/or orderings may not berequired. Rather, in some embodiments, such features may be arranged ina different manner and/or order than shown in the illustrative figures.Additionally, the inclusion of a structural or method feature in aparticular figure is not mean to imply that such feature is required inall embodiments and, in some embodiments, may not be included or may becombined with other features.

Referring now to FIG. 1, an illustrative compute device 100 isconfigured to manage memory based on the past qualities of userexperiences with regard to applications executed on the compute device100. To do so, the compute device 100 is configured to determine anindication of the quality of a user experience (such as by measuring asystem benchmark) while the compute device 100 is running variouscombinations of applications, and to store the indications in a databaseor other storage. When a new application is selected by a user forlaunch, the compute device 100 checks the database for the currentcombination of applications (i.e., the applications presently running onthe compute device, including the selected application) and, if arelevant entry is found, determines an expected quality of a userexperience for that combination of applications. If the expected qualifyof a user experience is acceptable, all of the applications in thecurrent combination may be allowed to continue to run. If the expectedquality of a user experience is unacceptable, one or more of the currentcombination or applications will be killed to improve the expectedquality of a user experience.

The compute device 100 may be embodied as any type of compute devicecapable of performing the functions described herein. For example, thecompute device 100 may be embodied as or otherwise be included in,without limitation, a smartphone, a cellular phone, a server computer, adesktop computer, an embedded computing system, a System-on-a-Chip(SoC), a tablet computer, a notebook computer, a laptop computer, awearable computer, a handset, a messaging device, a camera device, amultiprocessor system, a processor-based system, a consumer electronicdevice, and/or any other computing device. The illustrative computedevice 100 includes a processor 102, a memory 104, an input/output (I/O)subsystem 106, a data storage 108, and a display 110. In someembodiments, one or more of the illustrative components of the computedevice 100 may be incorporated in, or otherwise form a portion of,another component. For example, the memory 104, or portions thereof, maybe incorporated in the processor 102 in some embodiments.

The processor 102 may be embodied as any type of processor capable ofperforming the functions described herein. For example, the processor102 may be embodied as a single or multi-core processor(s), a single ormulti-socket processor, a digital signal processor, a graphicsprocessor, a microcontroller, or other processor orprocessing/controlling circuit. Similarly, the memory 104 may beembodied as any type of volatile or non-volatile memory or data storagecapable sf performing the functions described herein. In operation, thememory 104 may store various data and software used during operation ofthe compute device 100 such as operating systems, applications,programs, libraries, and drivers. The memory 104 is communicativelycoupled to the processor 102 via the I/O subsystem 106, which may beembodied as circuitry and/or components to facilitate input/outputoperations with the processor 102, the memory 104, and other componentsof the compute device 100. For example, the I/O subsystem 106 may beembodied as, or otherwise include, memory controller hubs, input/outputcontrol hubs, firmware devices, communication links (i.e.,point-to-point links, bus links, wires, cables, light guides, printedcircuit board traces, etc.) and/or other components and subsystems tofacilitate the input/output operations. In some embodiments, the I/Osubsystem 106 may form a portion of a system-on-a-chip (SoC) and beincorporated, along with the processor 102, the memory 104, and othercomponents of the compute device 100 on a single integrated circuitchip.

The data storage 108 may be embodied as any type of device or devicesconfigured for the short-term or long-term storage of data. For example,the dat storage 108 may include any one or more memory devices andcircuits, memory cards, hard disk drives, solid-state drives, or otherdata storage devices.

The display 110 may be embodied as any type of display on whichinformation may be displayed to a user of the compute device 100, suchas a touchscreen display, a liquid crystal display (LCD), a lightemitting diode (LED) display, a cathode ray tube (CRT) display, a plasmadisplay, an image projector (e.g., 2D or 3D), a laser projector, aheads-up display, and/or other display technology.

In some embodiments, the compute device 100 may include other oradditional components, such as those commonly found in a compute device.For example, the compute device 100 may also have a communicationcircuit 112 and/or peripheral devices 114. The peripheral devices 114may include a keyboard, a mouse, etc. The communication circuit 112 maybe embodied as any type of communication circuit, device, or collectionthereof, capable of enabling communications between the compute device100 and other devices. To do so, the communication circuit 112 may beconfigured to use any one or more communication technology andassociated protocols (e.g., Ethernet, Bluetooth®, Wi-Fi®, WiMAX, nearfield communication (NFC), etc. to effect such communication.

Referring now to FIG. 2, in use, the compute device 100 may establish anenvironment 200. The illustrative environment 200 includes a quality ofuser experience determination module 202 and a low memory applicationkiller module 204. The various modules of the environment 200 may beembodied as hardware, software, firmware, or a combination thereof. Forexample, the various modules, logic, and other components of theenvironment 200 may form a portion of, or otherwise be established by,the processor. 102 or other hardware components of the compute device100. As such, in some embodiments, one or more of the modules of theenvironment 200 may be embodied as circuitry or collection of electricaldevices (e.g., a quality of user experience determination circuit 202, alow memory application killer circuit 204, etc.). It should beappreciated that, in such embodiments, one or more of the circuits(e.g., the quality of user experience determination circuit 202, the lowmemory application killer circuit 204, etc.) may form a portion of oneor more of the processor 102, the memory 104, the I/O subsystem 106,and/or the data storage 108. Additionally, in some embodiments, one ormore of the illustrative modules may form a portion of another moduleand/or one or more of the illustrative modules may be independent of oneanother.

The quality of user experience determination module 202 is configured todetermine the quality of a user experience of a user of the computedevice 100 associated with a combination of applications (i.e., the userexperience while the compute device 100 is running the combination ofapplications). The determined quality of a user experience may beembodied as any type of data indicative of a level of quality of theexperience of the user while using the compute device 100. In someembodiments, the quality of a user experience is indicative or otherwisebased on the quality of the user's experience with a user interface ofthe computing device 100. The quality of the user's experience may bedetermined based on monitored or determined criteria related to theoperation of the compute device 100 (e.g., overall performance level,latency, responsiveness, time taken for an application to perform aspecific task, susceptibility to crashes, etc.) or on user feedback(e.g., the user may supply a confirmation of a high quality experiencewith a particular set of executed applications). In many instances, apoor or unacceptable quality of a user experience may be caused by lowmemory. The quality of user experience determination module 202 includesa user experience database module 206. Each illustrative entry in theuser experience database module 206 includes a combination ofapplications associated with the entry and an indication of the level ofquality of the user experience associated with running the combinationof applications. The indication of the quality of the user experiencemay be represented in any manner, such as with a single binary variable(indicating an acceptable or unacceptable experience), a single variablewith a wide range of values (such as a 32-bit integer), or with severalvariables, each indicating a different aspect of the user experience.The user experience database module 206 include default database entries208, which may be included in the user experience database module 206 atthe time of manufacture of the compute device 100 (or at the time ofinstallation or upgrade of the operating system or other software of thecompute device 100). The default database entries 208 may indicate thequality of a user experience for common or default combinations ofapplications.

The quality of user experience determination module 202 may determinethe quality of a user experience in any number of ways, including withuse of a multi-threading benchmark module 210, a memory request testingmodule 212. A memory use determination module 214, and for a manualconfiguration module 216. It should be appreciated that the quality ofuser experience determination module 202 may determine the quality of auser experience using any combination of the modules 210-216. When thecompute device. 100 determines an indication of the quality of a userexperience associated with the applications running on the computedevice 100, the compute device 100 stores the indication in the userexperience database module 206, such as by adding or updating an entry.

The multi-threading benchmark module 210 is configured to determine thequality of a user experience based on a multi-threading benchmark. Inthe illustrative embodiment, the multi-threading benchmark module 210schedules one or more threads to be executed at a certain time, andcompares the scheduled execution time of the one or more scheduledthreads to the actual execution time. If the compute device 100 is notlow on resources (such as space in the memory 104), the threads arelikely to be executed when scheduled. If the compute device 100 is lowon resources (such as space in the memory 103), then the threads aremore likely to be executed at a later time than scheduled. As such, theexecution time of the scheduled threads may be used to infer anindication of whether the compute device 100 is law on resources (and,therefore, an indication of the quality of a user experience).

The memory request testing module 212 is configured to request one ormote memory allocations of the memory 104 and to determine how long ittakes for the request to be fulfilled (if it ever is). Again, if thecompute device 100 is low on resources (such as space in the memory104), then the memory request is likely to take longer, and if thecompute device 100 is not low on resources (such as space in thememory), the memory request is likely to take less time. As such, thetime for a request for memory to be fulfilled may be used to infer anindication of whether the compute device 100 is low on resources (and,therefore, an indication of the quality of a user experience).

The memory use determination module 214 is configured to determine anamount of free memory space available in the memory 104. As noted above,low or no memory available likely indicates a poor or low quality ofuser experience.

The manual configuration module 216 is configured to receive an inputfrom a user of the compute device 100 indicating the quality of the userexperience associated with a combination of applications. In some cases,the compute device 100 may provide a prompt to the user for feedback onthe current combination of applications. In other cases, the user maynavigate to an interface which may allow the user to add, update, orremove the entries in the user experience database module 206.

The low memory application killer module 203 is configured to kill(e.g., stop, exit, halt, etc.) one or more applications when certainconditions are met. The low memory application killer module 204includes an expected quality of user experience determination module218, and may kill one or more of the applications of the currentcombination of applications if the expected quality of user experiencedetermination module 218 indicates an unacceptable expected performancewith the current combination of applications. In some embodiments, theindication of the quality of a user experience stored in the userexperience database module 206 is compared against a threshold value todetermine if the indicated quality of user experience is acceptable. Theillustrative low memory application killer module 204 checks theexpected quality of user experience each time an application islaunched.

The expected quality of user experience determination module 218 isconfigured to determine an expected quality of a riser experience of acurrent combination of applications based on relevant entries stored inthe user experience database. In the illustrative embodiment, a relevantentry is any entry that includes the active application in itscombination of applications. The active application is the applicationwith which the user most recently interacted. If a user dust selected anapplication to be launched, the selected application is considered theactive application, even if it has not yet launched. If more than onerelevant entry is in the user experience database module 206, the lowmemory application killer module 204 may determine which entry orentries are most relevant bawd on any metric, such as the number ofapplications in common, the number of applications in the combination ofapplications of the entry that also appear in the current combination ofapplications, or the number of applications in the current combinationof applications that also appear in the combination of applications ofthe entry.

For example, if an entry in the user experience database module 206 hasa combination of applications that snatches the current combination ofapplications and indicates an (un)acceptable quality of a userexperience, the expected quality of user experience determination module218 will determine that the expected quality of the user experience is(un)acceptable. In another example, if an entry in the user experiencedatabase module 206 has a combination of applications that includes thecurrent combination of applications land one or more additionalapplications) and indicates an (un)acceptable quality of a userexperience, the expected quality of user experience determination module218 may determine that the expected quality of the user experience is(un)acceptable. In yet another example, if an entry in the userexperience database module. 206 has a combination of applications thatare included in the current combination of applications but does notinclude all of the currant combination) and indicates an (un)acceptablequality of a user experience, the expected quality of user experiencedetermination module 218 may determine that the expected quality of theuser experience is (un)acceptable.

It should be appreciated that, throughout the present specification, the“current” or “present” combination of applications includes anapplication that a user has selected to be launched, even if thatapplication has not yet launched. For example, in some embodiments, auser may select an application to be launched, and the expected qualityof user experience determination module 218 may determine an expectedquality of the user experience of a combination of applicationsincluding the applications running prior to the user's selection and theapplication indicated by the user's selection prior to launching theapplication. Such an approach may proactively prevent a situation wherethe system would otherwise be low on resources.

The secondary low memory application killer module 220 is configured tokill one or more applications running on the compute device 100 when acertain condition related to low memory is reached, such as when thereis insufficient memory to fulfill a memory request, when availablememory is below a threshold, etc. The secondary low memory applicationkiller module 220 may select which applications are killed based onseveral possible factors, such as memory footprint, recency of use, etc.The secondary low memory application killer module 220 may be used whena relevant entry is not found in the user experience database module206. Of course, there may be additional conditions which cause thecompute device 100 to use the secondary low memory application killermodule 220, such as when there is insufficient memory to fulfill amemory request.

Referring now to FIG. 3, in use, the compute device 100 many execute amethod 300 for determining the quality of a user experience of thecompute device 100. It should be appreciated that, in some embodiments,the method 300 may be executed by one or more of the modules of theenvironment 200. The method begins in block 302, in which the computedevice 100 determines whether to determine the quality of a userexperience with the operation of the compute device 100. The computedevice 100 may decide to determine the quality of the user experiencebased on any relevant factor, such as a user selecting an additionalapplication to be launched, based on a certain amount of time elapsedsince the previous determination of the quality of a user experience,and/or based on an operating characteristic of the compute device 100such as low memory or insufficient memory to fulfill a memory request.

In block 304, if the compute device 100 decides not to determine thequality of a user experience, the method 300 loops back to block 302.If, however, the compute device 100 decides to determine the quality ofa user experience, the method 300 proceeds to block 306. In block 306,the compute device 100 determines an indication of the quality of thepresent user experience with the operation of the compute device 100. Asdiscussed above, the indication may be embodied as any type of dataindicative of the level of quality of the user's experience with regardto the operation of the compute device 100 (e.g., a user interface ofthe compute device 100) while executing the current combination ofapplications. The compute device 100 may use any suitable methodology todetermine the indication of the quality of the user experience. Forexample, the compute device 100 may determine thread schedulingperformance in block 308. To do so, the compute device 100 may, in oneembodiment, schedule one or more threads to be executed at a certaintime, and compare the scheduled execution time of the one or morescheduled threads to the actual execution time. In another example, thecompute device 100 may determine performance of a memory request inblock 310. To do so, the compute device 100 may request one or morememory allocations of the memory 104 and to determine how long it takesfor the request to be fulfilled (if it ever is). In yet another example,the compute device 100 may determine memory use in block 312, such as bydetermining an amount of five memory space available in the memory 104.In still another example, the compute device 100 may prompt the user forthe quality of the current user experience and receive an indication ofthe quality of the user experience from the user in block 314.

In block 316, the compute device 100 determines the current combinationof applications that in rennin or executing on the compute device 100(i.e., the combination of applications associated with the userexperience determined in block 306). Subsequently, in block 318, thecompute device 100 stores an indication of the quality of the userexperience associated with the current combination of applications inthe user experience database module 206.

Referring now to FIG. 4, in use, the compute device 100 may execute amethod 400 for killing one or more applications running on the computedevice 100. It should be appreciated that, in some embodiments, themethod 400 may be executed by one or more of the modules of theenvironment 200. The method begins in block 402 in which the computedevice 100 determines whether to run a low memory application killer. Aspart of determining whether to run the low memory application killer,the compute device 100 may determine whether to run the low memoryapplication killer based on an application launch in block 404,determine whether to run the low memory application killer based onavailable memory in block 406, and/or determine whether to run the lowmemory application killer based on a determined quality of the userexperience (e.g., the quality of the user experience determined byexecuting the method 300 in FIG. 3) in block 408. In some embodiments,the compute device 100 may consider other factors, such as how longsince the low memory application killer was run, an operatingcharacteristic of the compute device 100, etc.

In block 410, if the compute device 100 determines not to run the lowmemory application killer, the method 400 loops back to block 402 tocontinue checking whether to run the low memory application killer.However, if the compute device 100 decides to determine the quality of auser experience, the method 400 proceeds to block 412. In block 412, thecompute device 100 determines the current combination of applicationsthat are running on the compute device 100. In block 414, the computedevice 100 accesses the user experience database module 206 for relevantentries based on the current combination of applications. In theillustrative embodiment, an entry is considered relevant if it includesthe active application in its combination of applications. The computedevice 100 accesses one or more entries in the user experience databasemodule 206 that include an indication of the quality of a userexperience with the same combination of applications as the currentcombination of applications (if such an entry exists) in block 416.Additionally or alternatively, the compute device 100 may access one ormore entries in the user experience database module 206 that include anindication of the quality of a user experience with a similarcombination of applications as the current combination of applicationsin block 416. A similar combination of applications may be a combinationof applications that includes some or all of the applications in thecurrent combination, and may include one or more additional applicationsnot present in the current combination and/or may not include some ofthe applications present in the current combination.

In block 420, if relevant entries are not available in the userexperience database module 206, the method proceeds to block 422. Inblock 422, the compute device 100 runs a secondary memory applicationkiller, which, as described above, may kill one or more applicationsbased on factors such as low available memory and/or a determinationthat there is not enough available memory to fulfill a memory request.

Referring back to block 420, if relevant entries are available in theuser experience database, the method proceeds to block 424 of FIG. 5, inwhich the compute device 100 determines whether an expected quality ofthe user experience is acceptable based on the entries accessed from theuser experience database module 206 and the current combination ofapplications, as described above in regard to the expected quality ofuser experience determination module 218. For example, if an entry isaccessed with an indication of the quality of a user experienceassociated with a combination of applications that is the same as thecurrent combination of applications, the expected quality of the userexperience may be determined to be acceptable if the indication of thatentry indicates an acceptable quality of the user experience.

If the expected quality of the user experience of the currentcombination of applications is acceptable, the method jumper to block436 discussed below. It, however, the expected quality of the userexperience is not acceptable, the method proceeds to block 428, in whichthe compute device 100 kills one or more of the current combination ofapplications. The compute device 100 may select which of the currentcombination of applications are killed based on several criteria. Forexample, the compute device 100 may kill the application(s) that are notpresent in a relevant entry that indicates an acceptable quality of theuser experience in block 430 and may kill the application(s) that arepresent in a relevant entry that indicates an unacceptable quality ofthe user experience in block 432, if more than one entry is determinedto be relevant, the compute device 100 may determine which entry is mostrelevant, and kill applications based on that entry. For example, thecompute device 100 may kill the application(s) that are not present inthe entry that has the highest number of currently-running applicationsand that indicates an acceptable quality of the user experience in block434. Of course, the compute device 100 may additionally or alternativelyconsider factors such as memory footprint of the applications, recencyof use, etc.

Optionally, in block 436, the compute device 100 may determine thequality of the user experiences of the current combination ofapplications after killing some of the applications, and updating theuser experience database module 206 as appropriate.

Referring now to FIG. 6, in use, the compute device 100 may execute amethod 600 for modifying a stored indication of the quality of a userexperience based on an input from a user of the compute device 100. Itshould be appreciated that, in some embodiments, the method 600 may beexecuted by one or more of the modules of the environment 200. Themethod 600 begins in block 602, in which the compute device icy)displays to the user one or more indications of the quality of userexperiences associated with various combinations of applications thatmay be present in one or more entries of the user experience databasemodule 206.

In block 604, the compute device 100 receives an input from the userupdating the quality of the user experience for a combination ofapplications. In block 606, the compute device 100 updates thecorresponding indication of the quality of the user experienceassociated with the combination of applications in the user experiencedatabase module 206.

EXAMPLES

Illustrative examples of the devices, systems, and methods disclosedherein are provided below. An embodiment of the devices, systems, andmethods may include any one or more, and any combination of, theexamples described below.

Example 1 includes a compute device for managing memory use on thecompute device, the compute device comprising a low memory applicationkiller module to determine a current combination of applications mimingon the compute device; retrieve, from a database of the compute device,one or more entries of a plurality of entries of the database, whereineach entry of the plurality of entries is associated with a combinationof applications of a plurality of combinations of applications andcomprises an indication of the quality of a user experience associatedwith the corresponding combination of applications; determine anexpected quality of a user experience associated with the currentcombination of applications based on the one or more indications of thequality of the user experiences associated with the one or more entries:and kill one or more of the current combination of applications based onthe expected quality of the user experience associated with the currentcombination of applications.

Example 2 includes she subject matter of Example 1, and furtherincluding a duality of user experience determination module to receive,for each of the plurality of combinations of applications, one or moreinput commands front a user of the compute device to launch each of theapplications of the corresponding combination of applications; run, foreach of the plurality of combinations of applications, each of theapplications of the corresponding combination of applications inresponse to the corresponding one or more input commands: determine, foreach of the plurality of combinations of applications, the indication ofthe quality of the user experience associated with the correspondingcombination of applications while the compute device is running thecorresponding combination of applications; and store, for each of theplurality of combinations of applications, the indication of the qualityof the user experience associated with the corresponding combination ofapplications in the database.

Example 3 includes the subject matter of any of Examples 1 and 2, andwherein to determine, for each of the plurality of combinations ofapplications, the indication of the quality of the user experienceassociated with the corresponding combination of applications comprisesto schedule, for each of at least one combination of applications of theplurality of combinations of applications, a thread to run at a firsttime; run, for each of the at least one combination of applications, thecorresponding thread at a second time; determine, for each of the atleast one combination of applications, a time difference between thecorresponding second time and the corresponding first time; anddetermine, for each of the at least one combination of applications, theindication of the quality of the user experience associated with thecorresponding combination of applications based on the correspondingtime difference.

Example 4 includes the subject matter of any of Examples 1-3, andwherein to determine, for each of the plurality of combinations ofapplications, the indication of the quality of the user experienceassociated with the corresponding combination of applications comprisesto request, for each of at least one combination of applications of theplurality of combinations of applications, an allocation of memory ofthe compute deice at a first time; receive, for each of the at least onecombination of applications, the corresponding allocation of memory at asecond time; determine, for each of the at least one combination ofapplications, a time difference between the corresponding second timeand the corresponding first time; and determine, for each of the atleast one combination of applications, the indication of quality of theuser experience associated with the corresponding combination ofapplications based on the corresponding time difference.

Example 5 includes the subject matter of any of Examples 1-4, andwherein to determine, for each of the plurality of combinations ofapplications, the indication of quality of the user experienceassociated with the corresponding combination of applications comprisesto determine, far each of at least one combination of applications ofthe plurality of combinations of applications, an available amount ofmemory of the compute device, and determine, for each of the at leastone combination of applications, the indication of quality of the userexperience associated with the corresponding combination of applicationbased on the corresponding available amount of memory.

Example 6 includes the subject matter of any of Examples 1-5, andfurther including a user experience determination module to receive, foreach of the plurality of combinations of applications, an input from auser of the compute device comprising the corresponding indication ofquality of the user experience associated with the correspondingcombination of applications and store, for each of the plurality ofcombinations of applications, the indication of quality of the userexperience associated with the corresponding combination of applicationsin the database.

Example 7 includes the subject matter of any of Examples 1-6, andwherein to determine the current combination of applications running onthe compute device comprises to receive, from a user of the computedevice, a command to launch a selected application; determine, inresponse to receipt of the command to launch the selected application,the current combination of applications running on the compute device,wherein the selected application is included in the current combinationof applications; and bunch the selected application, wherein to kill theone or more of the current combination of applications comprises to killthe one or more of the current combination of applications prior to thelaunch of the selected application.

Example 8 includes the subject matter of any of Examples 1-7 and whereinthe one or more entries comprise an indication of an acceptable qualityof a user experience associated with an acceptable combination ofapplications including the selected application and one or moreadditional applications of the current combination, wherein to kill theone or more of the current combination of applications mortises todetermine that the one or more of the current combination ofapplications are not included in the acceptable combination ofapplications.

Example 9 includes the subject matter of any of Examples 1-8, andwherein the one or more entries comprise an indication of artunacceptable quality of a user experience associated with anunacceptable combination of applications including the selectedapplication and one or more additional applications of the currentcombination, wherein to kill the one or more of the current combinationof applications comprises to determine that the one or more of thecurrent combination of applications are included in the unacceptablecombination of applications.

Example 10 includes the subject matter of any of Examples 1-9, andwherein the one or more entries comprise two or mom indications of anacceptable quality of a user experience associated with two or moteacceptable combinations of applications including the selectedapplication and one or more additional applications of the currentcombination, wherein to kill the one or more of the current combinationof applications comprises to determine which acceptable combination ofthe two or more acceptable combinations of applications has moreapplications in common with the current combination of applications, anddetermine that the one or more of the current combination ofapplications are not included in the acceptable combination having themost applications in common with the current combination ofapplications.

Example 11 includes the subject matter of any of Examples 1-10, andwherein the one or more entries comprise an indication of anunacceptable quality of a user experience associated with the currentcombination of applications.

Example 12 includes the subject matter of any of Examples 1-11, andwherein the one or more entries comprise an indication of anunacceptable quality of a user experience associated with a combinationof applications that includes the current combination of applicationsand one or more additional applications.

Example 13 includes the subject matter of any of Examples 1-12, andwherein the low memory application killer module is further to determinea second current combination of applications running on the computedevice at a time different from the running of the current combinationof applications; determine whether the database includes any entryindicative of the quality of a user experience associated with thesecond current combination of applications; and apply, in response to adetermination that the database does not include any entry indicative ofthe quality of a user experience associated with the second currentcombination of applications, a secondary low memory application killeralgorithm.

Example 14 includes the subject matter of any of Examples 1-13, andfurther including a quality of user experience determination module todisplay, on a display of the compute device, an interface for a user ofthe compute device to modify the entries of the plurality of entries ofthe database; receive, from the user, an instruction to modify aselected entry of the plurality of entries; and update the selectedentry of the database based on the instruction from the user.

Example 15 includes the subject matter of any of Examples 1-14, andfurther including a quality of user experience determination module todisplay, on a display of the compute device, an interface for a user ofthe compute device to provide an indication of the quality of a userexperience associated with the current combination of applications;receive, from the user, the indication of quality of the user experienceassociated with the current combination of applications; and update thedatabase based on the indication of quality of the user experienceassociated with the current combination of applications.

Example 16 includes a method for managing memory use on a computedevice, the method comprising determining, by the compute device, acurrent combination of applications running on the compute device;retrieving, by the compute device and from a database of the computedevice, one or more entries of a plurality of entries of the database,wherein each entry of the plurality of entries is associated with acombination of applications of a plurality of combinations ofapplications and comprises an indication of the quality of a userexperience associated with the corresponding combination ofapplications; determining, by the compute device, an expected quality ofa user experience associated with the current combination ofapplications based on the one or more indications of the quality of userexperiences associated with the one or more entries; and killing, by thecompute device, one or more of the current combination of applicationsbased on the expected qualify of the user experience associated with thecurrent combination of applications.

Example 17 includes the subject matter of Example 16, and furtherincluding receiving, by the compute device and for each of the pluralityof combinations of applications, one or more input commands from a userof the compute device to launch each of the applications of thecorresponding combination of applications; finning, by the compotedevice and for each of the plurality of combinations of applications,each of the applications of the corresponding combination ofapplications in response to the corresponding one in more inputcommands; determining, by the compute device and for each of theplurality of combinations of applications, the indication of quality ofthe user experience associated with the corresponding combination ofapplications while the compute device is finning the correspondingcombination of applications; and storing, by the compute device and foreach of the plurality of combinations of applications, the indication ofquality of the user experience associated with the correspondingcombination of applications in the database.

Example 18 includes the subject matter of any of Examples 16 and 17, andwherein determining, for each of the plurality of combinations ofapplications, the indication of quality of the user experienceassociated with the corresponding combination of applications comprisesscheduling, by the compute device and for each of at least onecombination of applications of the plurality of combinations ofapplications, a thread to run at a first time; running, by the computedevice and for each of the at least one combination of applications, thecorresponding thread at a second time; determining, by the computedevice and for each of the at least one combination of applications, atime difference between the corresponding second time and thecorresponding first time; and determining, by the compute device and foreach of the at least one combination of applications, the indication ofquality of the user experience associated with the correspondingcombination of applications based on the corresponding time difference.

Example 19 includes the subject matter of any of Examples 16-18, andwherein determining, for each of the plurality of combinations ofapplications, the indication of quality of the user experienceassociated with the corresponding combination of applications comprisesrequesting, by the compute device and for each of at least onecombination of applications of the plurality of combinations ofapplications, an allocation of memory of the compute device at a firsttime; receiving, by the compute device and for each of the at least onecombination of applications, the corresponding allocation of memory at asecond time; determining, by the compute device and for each of the atleast one combination of applications, a time difference between thecorresponding second time and the corresponding first time; anddetermining, by the compute device and for each of the at least onecombination of applications, the indication of quality of the userexperience associated with the corresponding combination of applicationsbased on the corresponding time difference.

Example 20 includes the subject matter of any of Examples 16-19, andwherein determining, for each of the plurality of combinations ofapplications, the indication of quality of the user experienceassociated with the corresponding combination of applications comprisesdetermining, by the compute device and for each of at least onecombination of applications of the plurality of combinations ofapplications, an available amount of memory of the compute device, anddetermining, by the compute device and for each of the at least onecombination of applications, the indication of quality of the userexperience associated with the corresponding combination of applicationsbased on the corresponding available amount of memory.

Example 21 includes the subject matter of any of Examples 16-20, andfurther including receiving, by the compute device and for each of theplurality of combinations of applications, an input from a user of thecompute device comprising the corresponding indication of quality of theuser experience associated with the corresponding combination ofapplications, and storing, by the compute device and for each of theplurality of combinations of applications, the indication of quality ofthe user experience associated with the corresponding combination ofapplications in the database.

Example 22 includes the subject matter of any of Examples 16-21, andwherein determining the current combination of applications running onthe compute device comprises receiving, by the compute device and from auser of the compute device, a command to launch a selected application;determining, by the compute device and in response to receipt of thecommand to launch the selected application, the current combination ofapplications miming on the compute device, wherein the selectedapplication is included in the current combination of applications andlaunching, by the compute device, the selected application, whereinkilling the one or more of the current combination of applicationscomprises killing the one or more of the current combination ofapplications prior to launching the selected application.

Example 23 includes the subject matter of any of Examples 16-22, andwherein the one or more entries comprise an indication of an acceptablequality of a user experience associated with an acceptable combinationof applications including the selected application and one on moreadditional applications of the current combination, wherein killing theone or more of the current combination of applications comprisesdetermining, by the compute device, that the one or more of the currentcombination of applications are not included in the acceptablecombination of applications.

Example 24 includes the subject matter of any of Examples 16-23, andwherein the one or more entries comprise an indication of anunacceptable quality of a user experience associated with anunacceptable combination of applications including the selectedapplication and one or more additional applications of the currentcombination, wherein killing the one or more of the current combinationof applications comprises determining, by the compute device, that theone or more of the current combination of applications are included inthe unacceptable combination of applications.

Example 25 includes the subject matter of any of Examples 16-24, andwherein the one or more entries comprise two or more indications of anacceptable quality of a user experience associated with two or moreacceptable combinations of applications including the selectedapplication and one or more additional applications of the currentcombination, wherein killing the one or more of the current combinationof applications comprises determining, by the compute device, whichacceptable combination of the two or more acceptable combinations ofapplications has more applications in common with the currentcombination of applications, and determining, by the compute device,that the one or more of the current combination of applications are notincluded in the acceptable combination having the most applications incommon with the current combination of applications.

Example 26 includes the subject matter of any of Examples 16-25, andwherein the one or more entries; comprise an indication of anunacceptable quality of a user experience associated with the currentcombination of applications.

Example 27 includes the subject matter of any of Examples 16-26, andwherein the one or more entries comprise an indication of anunacceptable quality of a user experience associated with a combinationof applications that includes the current combination of applicationsand one or more additional applications.

Example 28 includes the subject matter of any of Examples 16-27, andfurther including determining, by the compute device, a second currentcombination of applications running on the compute device at a timedifferent from the running of the current combination of applications;determining, by the compute device, whether the database includes anyentry indicative of the quality of a user experience associated with thesecond current combination of applications; and applying, by the computedevice and in response to a determination that the database, does notinclude any entry indicative of the quality of a user experienceassociated with the second current combination of applications, asecondary low memory application killer algorithm.

Example 29 includes the subject matter of any of Examples 16-28, andfurther including, displaying, on a display of the compute device, aninterface for a user of the compute device to modify the entries of dieplurality of entries of the database; receiving, by the compute deviceand front the user, an instruction to modify a selected entry of theplurality of entries; and updating, by the compute device, the selectedentry of the database based on the instruction from the user.

Example 30 includes the subject matter of any of Examples 16-29, andfurther including displaying, on a display of the compute device, aninterface for a user of the compute device to provide an indication ofthe quality of a user experience associated with the current combinationof applications; receiving, by the compute device and from the user, theindication of quality of the user experience associated with the currentcombination of applications; and updating, by the compute device, thedatabase based on the indication of quality of the user experienceassociated with the current combination of applications.

Example 31 includes one or more machine-readable media comprising aplurality of instructions stored thereon that, when executed, cause acompute device to perform the method of any of claims 16-30.

Example 32 includes a compute device comprising means for performing themethod of any of claims 16-30.

Example 33 includes a compute device for managing memory use, thecompute device comprising means for determining a current combination ofapplications running on the compute device; means for retrieving, from adatabase of the compute device, one or mom entries of a plurality ofentries of the database, wherein each entry of the plurality of entriesis associated with a combination of applications of a plurality ofcombinations of applications and comprises an indication of the qualityof a user experience associated with the corresponding combination ofapplications; means for determining an expected quality of a userexperience associated with the current combination of applications basedon the one or more indications of the quality of user experiencesassociated with the one or more entries; and means for killing one ormore of the current combination of applications based on the expectedquality of the user experience associated with the current combinationof applications.

Example 34 includes the subject matter of Example 33, and furtherincluding means for receiving, for each of the plurality of combinationsof applications, one or more input commands from a user of the computedevice to launch each of the applications of the correspondingcombination of applications; means for panning, for each of theplurality of combinations of applications, each of the applications ofthe corresponding combination of applications in response to thecorresponding one or more input commands; means for determining, foreach of the plurality of combinations of applications, the indication ofquality of the user experience associated with the correspondingcombination of applications while the compute device is running thecorresponding combination of applications; and means for storing, foreach of the plurality of combinations of applications, the indication ofquality of the user experience associated with the correspondingcombination of applications in the database.

Example 35 includes the subject matter of any of Examples 33 and 34, andwherein the means for determining, for each of the plurality ofcombinations of applications, the indication of quality of the userexperience associated with the corresponding combination of applicationscomprises means for scheduling, for each of at least one combination ofapplications of the plurality of combinations of applications, a threadto run at a first time; means for running, for each of the at least onecombination of applications, the corresponding thread at a second time;means for determining, for each of the at least one combination ofapplications, a time difference between the corresponding second timeand the corresponding first time; and means for determining, for each ofthe at least one combination of applications, the indication of qualityof the user experience associated with the corresponding combination ofapplications based on the corresponding time difference.

Example 36 includes the subject matter of any of Examples 33-35, andwherein the means for determining, for each of the plurality ofcombinations of applications, the indication of quality of the userexperience associated with the corresponding combination of applicationscomprises means for requesting, for each of at least one combination ofapplications of the plurality of combinations of applications, anallocation of memory of the compote device at a first time; means forreceiving, for each of the at least one combination of applications, thecorresponding allocation of memory at a second time; means fordetermining, for each of the at least one combination of application, atune difference between the corresponding second tune and thecorresponding first time; and means for determining, for each of the atleast one combination of applications, the indication of quality of theuser experience associated with the corresponding combination ofapplications based on the corresponding time difference.

Example 37 includes the subject matter of any of Examples 33-36, andwherein the means for determining, for each of the plurality ofcombinations of applications, the indication of quality of the userexperience associated with the corresponding combination of applicationscomprises means for determining, for each of am least one combination ofapplications of the plurality of combinations of applications, anavailable amount of memory of the compute device, and means fordetermining, for each of the at least one combination of applications,the indication of quality of the user experience associated with thecorresponding combination of applications based on the correspondingavailable amount of memory.

Example 38 includes the subject matter of any of Examples 33-37, andfurther including means for receiving, for each of the plurality ofcombinations of application, an input from a user of the compute devicecomprising the corresponding indication of quality of the userexperience associated with the corresponding combination ofapplications, and means for storing, for each of the plurality ofcombinations of applications, the indication of quality of the userexperience associated with the corresponding combination of applicationsin the database.

Example 39 includes the subject matter of any of Examples 33-38, andwherein the means for determining the current combination ofapplications running on the compute device comprises means forreceiving, from a user of the compute device, a command to launch aselected application; means for determining, in response to receipt ofthe command to launch the selected application, the current combinationof applications running on the compute device, wherein the selectedapplication is included in the current combination of applications; andmeans for launching the selected application, wherein the means forkilling the one or more of the current combination of applicationscomprises means for killing the one or more of the current combinationof applications prior to launching the selected application.

Example 40 includes the subject matter of any of Examples 33-39, andwherein the one or more entries comprise an indication of an acceptablequality of a user experience associated with an acceptable combinationof applications including, the selected application and one or moreadditional applications of the current combination, wherein the meansfor killing the one or more of the current combination of applicationscomprises means for determining that the one or more of the currentcombination of applications are not included in the acceptablecombination of applications.

Example 41 includes the subject matter of any of Examples 33-40, andwherein the one or more entries comprise an indication of anunacceptable quality of a user experience associated with anunacceptable combination of applications including the selectedapplication and one or more additional applications of the currentcombination, wherein the means for killing the one or more of thecurrent combination of applications comprises means for determining thatthe one or more of the current combination of applications are includedin the unacceptable combination of applications.

Example 42 includes the subject matter of any of Examples 33-41, andwherein the one or more entries comprise two or more indications of anacceptable quality of a user experience associated with two or moreacceptable combinations of applications including the selectedapplication and one or more additional applications of the currentcombination, wherein the means for killing the one or more of thecurrent combination of applications comprises means for determiningwhich acceptable combination of the two or more acceptable combinationsof applications has mole applications in common with the currentcombination of applications, and means for determining that the one ormore of the current combination of applications are not included in theacceptable combination having the most applications in common with thecurrent combination of applications.

Example 43 includes the subject matter of any of Examples 33-42, andwherein the one or more entries comprise an indication of anunacceptable quality of a user experience associated with the currentcombination of applications.

Example 44 includes the subject matter of any of Examples 33-43, andwherein the one or more entries comprise an indication of anunacceptable quality of a user experience associated with a combinationof applications that includes the current combination of applicationsand one or more additional applications.

Example 45 includes the subject matter of any of Examples 33-44, andfurther including means for determining a second current combination ofapplications running on the compute device at a time different from themiming of the current combination of applications; means for determiningwhether the database includes any entry indicative of the quality of auser experience associated with the second current combination ofapplications; and means for applying, in response to a determinationthat the database does not include any entry indicative of the qualityof a user experience associated with the second current combination ofapplications, a secondary low memory application killer algorithm.

Example 46 includes the subject matter of any of Examples 33-45, andfurther including means for displaying, on a display of the computedevice, an interface for a user of the compute device to modify theentries of the plurality of entries of the database; means forreceiving, from the user, an instruction to modify a selected entry ofthe plurality of entries; and means for updating the selected entry ofthe database based on the instruction from the user.

Example 47 includes the subject matter of any of Examples 33-46, andfurther including means for displaying, on a display of the computedevice, an interface for a user of the compute device to provide anindication of the quality of a user experience associated with thecurrent combination of applications; means for receiving, from the user,the indication of quality of the user experience associated with thecurrent combination of applications; and means for updating the databasebased on the indication of quality of the user experience associatedwith the current combination of applications.

CROSS-REFERENCE TO RELATED APPLICATIONS

This patent arises from a continuation of U.S. patent application Ser.No. 16/311,877, filed on Dec. 20, 2018, which was a U.S. National StageApplication of International Patent Application No. PCT/CN2016/091680,filed on Jul. 26, 2016. U.S. patent application Ser. No. 16/311,877 andInternational Patent Application No. PCT/CN2016/091680 are herebyincorporated herein by reference in their entireties. Priority to U.S.patent application Ser. No. 16/311,877 and International PatentApplication No. PCT/CN2016/091680 is hereby claimed.

1. A compute device for managing memory use on the compute device, thecompute device comprising: a low memory application killer module to:determine a current combination of applications running on the computedevice; retrieve, from a database of the compute device, one or moreentries of a plurality of entries of the database, wherein each entry ofthe plurality of entries is associated with a combination ofapplications of a plurality of combinations of applications andcomprises an indication of the quality of a user experience associatedwith the corresponding combination of applications; determine anexpected quality of a user experience associated with the currentcombination of applications based on the one or more indications of thequality of the user experiences associated with the one or more entries;and kill one or more of the current combination of applications based onthe expected quality of the user experience associated with the currentcombination of applications.